package com.water_work_form.mapper;

import com.water_work_form.entity.BasicForm;
import com.water_work_form.entity.BasicPhBlind;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 基础表——滴定pH——盲样信息 Mapper 接口
 * </p>
 *
 * @author xuke
 * @since 2023-08-01
 */
@Mapper
public interface BasicPhBlindMapper extends BaseMapper<BasicPhBlind> {

    /**
     * 唯一索引查询
     * @param name
     * @return
     */
    @Select("SELECT * FROM basic_ph_blind WHERE name = #{name}")
    BasicPhBlind getOneByName(String name);

}
